package com.javafive;

import java.io.*;

public class Demo3 {
    public static void main(String[] args) throws Exception {
        File file = new File("");
        String path="E:\\webWork\\javaKh62Demo\\src\\com\\javafive\\txt\\1.txt";
        OutputStream outputStream = new FileOutputStream(path,true);
        String str="好好学eqqqe习";
        byte[] bytes = str.getBytes();
        outputStream.write(bytes);
        outputStream.close();
    }
}
